import BasicRouter from './router'
import { ConfigProvider, App as AntdApp } from 'antd'
import { antdThemeConfigure } from './configs/antd/theme'
import { ProConfigProvider } from '@ant-design/pro-components'
import InitMessageCtx from '@/components/BasicToast'

function App() {
  return (
    <ConfigProvider theme={antdThemeConfigure.theme}>
      <ProConfigProvider>
        <AntdApp>
          <BasicRouter />
        </AntdApp>
        <InitMessageCtx />
      </ProConfigProvider>
    </ConfigProvider>
  )
}

export default App
